package demo8;

import java.util.Date;
import java.util.Scanner;

public class While {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (true) {
            String info= scanner.next();
            if (info.equals("n")) {
                break;

            }else{
                Date time = new Date();
                System.out.println(time);
            }
        }

       }
    }
